import request from './ajax.js'

/*登录*/
export const userLogin = (data) => request.post('/v5/auth/login',{data});

/* 用户信息 */
export const getUserInfo = (data) => request.get('/v5/logistic/user/info');

/* 发送短信*/
export const postSmsSend = (data) => request.post('/v5/sms/send',{data});

/* 忘记密码 */
export const postAuthPasswd = (data) => request.post('/v5/auth/forget-passwd',{data});

/*上传*/
export const postUploadAlone = (data) => request.postFile('/v5/images/upload-alone',{data});

/*最后活跃*/
export const postLogisticAlive = (data) => request.post('/v5/logistic/user/alive',{data});
